﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AuditPagingGridView.ascx.cs"
    Inherits="ExpertMIS.Admin.UserControl.AuditPagingGridView" %>
<style type="text/css">
    .start
    {
    }
    .total
    {
    }
    .prePage
    {
    }
    .nextPage
    {
    }
    .Delete
    {
    }
    .Audit
    {
    }
</style>
<asp:HiddenField runat="server" ID="hfStart" />
<asp:HiddenField runat="server" ID="hfTotal" />
<asp:GridView ID="gvList" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
    Width="100%" OnSelectedIndexChanged="gvList_SelectedIndexChanged" OnSorted="gvList_Sorted"
    OnRowDataBound="gvList_RowDataBound" OnRowCommand="gvList_RowCommand" OnPageIndexChanged="gvList_PageIndexChanged">
    <RowStyle BackColor="#EFF3FB" Width="100px" Font-Names="宋体" Font-Size="9pt" />
    <Columns>
        <asp:TemplateField ShowHeader="False">
            <ItemTemplate>
                <table cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <asp:ImageButton ID="ibPassed" runat="server" CausesValidation="False" CommandName="passed"
                                ImageUrl="~/imgs/unpassed.gif" AlternateText="未审核" CssClass="Audit" Style="float: left"
                                Width="16px"></asp:ImageButton>
                        </td>
                        <td>
                            <asp:LinkButton ID="lbPassed" CssClass="Audit" runat="server">审核</asp:LinkButton>
                            |
                        </td>
                        <td>
                            <asp:ImageButton ID="ibEdit" runat="server" CausesValidation="False" CommandName="edit"
                                ImageUrl="~/imgs/edit.gif" AlternateText="编辑" Style="float: left" Width="16px">
                            </asp:ImageButton>
                            <asp:LinkButton ID="lbEdit" runat="server">编辑</asp:LinkButton>
                        </td>
                        <td>
                            |
                        </td>
                        <td>
                            <asp:ImageButton ID="ibDelete" runat="server" CausesValidation="False" CommandName="delete"
                                ImageUrl="~/imgs/delete.gif" AlternateText="删除" Style="float: left"></asp:ImageButton>
                            <asp:LinkButton ID="lbDelete" runat="server">删除</asp:LinkButton>
                        </td>
                    </tr>
                </table>F
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" Font-Names="宋体"
        Font-Size="10pt" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" Font-Names="宋体"
        Font-Size="12px" />
    <EditRowStyle BackColor="#2461BF" />
    <AlternatingRowStyle BackColor="White" />
    <EmptyDataTemplate>
        <span style="color: Red;">查询无数据</span>
    </EmptyDataTemplate>
</asp:GridView>
<div style="text-align: right; padding-right: 12px; font-size: 9pt;">
    【第<asp:Label ID="lbCurPageCount" runat="server" />页】/【共<asp:Label ID="lbTotalPageCount"
        runat="server" />页】&nbsp;
    <asp:LinkButton runat="server" Text="【上一页】" CssClass="prePage" ID="lbPage" OnClick="lbPrior_Click"></asp:LinkButton>|
    <asp:LinkButton runat="server" Text="【下一页】" ID="lbNext" CssClass="nextPage" OnClick="lbNext_Click"></asp:LinkButton>
</div>
